package com.vallis.lotteryonline.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
 *
 * @author zhaiyp
 * @since 2020-07-14
 */
@Data
@ConfigurationProperties(prefix = "audience")
@Component
public class Audience {
    //代表这个JWT的接收对象,存入audience
    private String clientId;
    //密钥, 经过Base64加密, 可自行替换
    private String base64Secret;
    //jWT的签发主体，存入issuer
    private String name;
    //token有效期
    private int expiresSecond;


}
